package com.igelato.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @TableName: admin_role
 * @Description: 
 * @Author: wht
 * @Date: 2024-01-27
 */
@Data
    @Accessors(chain = true)
@TableName(value = "admin_role")
public class AdminRole implements Serializable{
                @TableId(value = "id", type = IdType.AUTO)
                private Integer id;
        private String name;
        @ApiModelProperty("用英文逗号,分隔    这里到底用什么数据结构，看element-ui")
        private String auth_ids;
        @ApiModelProperty("1：展示；-1：不展示；")
        private Byte status;
        @ApiModelProperty("0：正常；1：删除；")
        private Byte is_deleted;
        private LocalDateTime create_time;
        private LocalDateTime update_time;
@TableField(exist = false)
private static final long serialVersionUID=1L;

        }
